home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
cmln1085.arc
/
GSXWMODE.INC
< prev
next >
Wrap
Text File
|
1986-02-27
|
1KB
|
22 lines
{ --- mode control functions. Include file GSXWMODE.INC --- }
{********************************************************************}
procedure setwritingmode( mode : integer; {in: 1=replace, 2=overstrike,
3=complement, 4=erase}
var realizedmode : integer {out: mode realized by device}
);
{********************************************************************}
{ set mode in which pixels are displayed }
var contrl : array[1..5] of integer;
intin, ptsin, intout, ptsout : integer;
begin contrl[1] := 32;
contrl[2] := 0;
contrl[4] := 1;
intin := mode;
setpblock( addr(contrl), addr(intin ),
addr(ptsin ), addr(intout),
addr(ptsout));
callgdos( addr(pb));
realizedmode := intout
end;